/**
 * 
 */
package com.nervytech.tutorcruise.spring.controller;

import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author ADMIN
 * 
 */
@Controller
@RequestMapping("/error")
public class ErrorController {

	@RequestMapping(value="/401", method = RequestMethod.GET)
	public String unAuthorized(Map model) {
		return "401";
	}
	
	@RequestMapping(value="/404", method = RequestMethod.GET)
	public String notFound(Map model) {
		return "404";
	}

}
